package com.example.core.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TreeNode implements ITreeNode {

    public String id;

    public String text;

    public TreeNode parent;

    public List<TreeNode> children = new ArrayList<>();
}
